<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_SNF_PRL_46_MoreActionOnNodeInEditNavigationOfGroup.html</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_SNF_PRL_46_MoreActionOnNodeInEditNavigationOfGroup.html</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/public/classic/</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- More action on node in edit navigation of group --</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Go to Group navigation --</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Group</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Group</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Navigation']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//td/div[text()='Executive Board']/ancestor::tr/td/a[text()='Edit Navigation']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Add new node--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Add Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Add Node</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>name</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Test_SNF_PRL_46</td>
</tr>
<tr>
	<td>type</td>
	<td>label</td>
	<td>Test_SNF_PRL_46</td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Choose Page Selector--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[text()='Page Selector']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[text()='Page Selector']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Search and Select Page</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Search and Select Page</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//form[@id='UIPageSearchForm']/div[2]/input</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>//form[@id='UIPageSearchForm']/div[2]/input</td>
	<td>Community Management</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>name=searchOption</td>
	<td></td>
</tr>
<tr>
	<td>select</td>
	<td>name=searchOption</td>
	<td>label=group</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@title='Quick Search']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//a[@title='Quick Search']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>xpath=//img[@title='Select Page']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=//img[@title='Select Page']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Copy node--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Copy Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Copy Node</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- paste node to new place--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Cut node--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[2]/div/div/div[3]/div/a</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/div/div/div[3]/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Cut Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Cut Node</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- paste node to new place--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@title='Organization']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon' and @title='New Staff']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon' and @title='New Staff']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Clone node--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Clone Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Clone Node</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UINavigationNodeSelector']//a[@class='LevelUpArrowIcon']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@class='HomeNode']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//div[@class='HomeNode']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[@id='NavigationNodePopupMenu']//a[contains(text(),'Paste Node')]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[@id='UINavigationManagement']//a[contains(text(),'Paste Node')]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Move node up</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>xpath=//a[@title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveUp16x16Icon']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Move node down</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>xpath=//a[@title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>xpath=//div[@id='UINavigationNodeSelector']//div[@id='NavigationNodePopupMenu']//a[@class='ItemIcon MoveDown16x16Icon']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Delete node is cloned --</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>waitForConfirmationPresent</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this node?</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Delete node is copied--</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@title='New Staff']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//a[@title='New Staff']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[2]/div/div/div[2]/div[2]/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[2]/div/div/div[2]/div[2]/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>waitForConfirmationPresent</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this node?</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Delete node clone-</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@title='Up Level']</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//a[@title='Up Level']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>mouseDownRight</td>
	<td>//a[@class='NodeIcon DefaultPageIcon NodeSelected' and @title='Test_SNF_PRL_46']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Delete Node</td>
	<td></td>
</tr>
<tr>
	<td>waitForConfirmationPresent</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>assertConfirmation</td>
	<td>Are you sure you want to delete this node?</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextNotPresent</td>
	<td>Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextNotPresent</td>
	<td>Test_SNF_PRL_46</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
